package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoPurchaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoPurchasePo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoPurchaseDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoPurchaseDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoPurchaseDomainImpl extends BaseDomainImpl<BudgetTwoPurchaseDto, BudgetTwoPurchasePo> implements BudgetTwoPurchaseDomain {

    @Resource
    private BudgetTwoPurchaseRepository budgetTwoPurchaseRepository;

    @Override
    public BaseRepository<BudgetTwoPurchasePo> getMapper() {
        return budgetTwoPurchaseRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoPurchasePo>> getRepositoryClass() {
        return BudgetTwoPurchaseRepository.class;
    }

}
